Zhiyong Zhang's Psychometric Website
 
Home Control Panel Login Register Search Submit Logout About me Contact me
My Research
Google
Web
This Site
Home > A c++ program to generate the Mplus bivariate latent difference score model codes
A c++ program to generate the Mplus bivariate latent difference score model codes
2005-08-15    Zhang, Z.       Read: 14229 times
Cite this page: Zhang, Z. (2005). A c++ program to generate the Mplus bivariate latent difference score model codes. Retrieved December 22, 2024, from https://www.psychstat.org/us/article.php/38.htm.
A c++ program to generate the Mplus latent difference score model codes

To download the program, click here.

This dos program can be used to generate the Mplus codes for univariate and bivariate latent difference score models (McArdle, 2001, etc.).

To run this program, four  input parameters are needed.

1. The file name to save the codes.

2. Choose univariate model or bivariate model.

3. The name of the data file.

4. How many occasions in your data.

For the univariate model, the data is organized like,

y1 y2 y3 y4..

For the bivariate model, this program assumes the two variables have the same occasions. And the data are orginazed like:

x1 x2 x3 y1 y2 y3.

An example.

Please input the Mplus script file name:
test.inp
Univariate model (0) or bivariate model (1)? Type 0 or 1
0
Please input the name of the data file:
data.dat
How many occasions do you have in your data?
4

To download the program, click here.

Submitted by: johnny
Add a comment View comment Add to my favorite Email to a friend Print
If you want to rate, please login first, or click here to register. Or you can use USERNAME: guest and PASSWORD: guest to log in.
Average score 0, based on 0 comments
1 2 3 4 5 6 7 8 9 10
Copyright © 2003-13 Zhiyong Zhang \'s Psychometric Website
Maintained by Zhiyong Zhang